<%@page import="entity.News"%>
<%@page import="java.util.List"%>
<%@page import="biz.impl.NewsBizImpl"%>
<%@page import="biz.NewsBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
	<%
		NewsBiz biz = new NewsBizImpl();
		List<News> newses = biz.findAllNews();
		
		
		
	%>
	<ul>
		<%
		for(News n : newses){
		%>
		<li>
			<%=n.getTitle() %> - <%=n.getTime() %>
		</li>
		<%
		}
		%>
	</ul>
	
	
</body>
</html>












